﻿<Window x:Class="SkypeCleaner.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" WindowState="Maximized">
    <Grid>
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="65,12,0,0" Name="contacts" VerticalAlignment="Top" Width="426" SelectionChanged="contacts_SelectionChanged" />
        <Label Content="Contact:" Height="28" HorizontalAlignment="Left" Margin="12,12,0,0" Name="label1" VerticalAlignment="Top" />
        <DataGrid AutoGenerateColumns="False" HorizontalAlignment="Stretch" Margin="12,70,12,41" Name="messages" VerticalAlignment="Stretch">
            <DataGrid.Columns>
                <DataGridCheckBoxColumn Header="Remove" Binding="{Binding Path=Remove}" />
                <DataGridTextColumn Header="Author" Binding="{Binding Path=Message.Author}" IsReadOnly="True" />
                <DataGridTextColumn Header="Message" Binding="{Binding Path=Message.Message}" IsReadOnly="True" />
                <DataGridTextColumn Header="Date" Binding="{Binding Path=Message.Date}" IsReadOnly="True" />
            </DataGrid.Columns>
        </DataGrid>
        <Label Content="Messages:" Height="28" HorizontalAlignment="Left" Margin="12,46,0,0" Name="label2" VerticalAlignment="Top" />
        <Button Content="Select all" Height="23" HorizontalAlignment="Right" Margin="0,41,93,0" Name="butSelectAll" VerticalAlignment="Top" Width="75" Click="butSelectAll_Click" />
        <Button Content="Unselect all" Height="23" HorizontalAlignment="Right" Margin="0,41,12,0" Name="butUnselectAll" VerticalAlignment="Top" Width="75" Click="butUnselectAll_Click" />
        <Button Content="Remove" Height="23" HorizontalAlignment="Right" Margin="0,0,12,12" Name="butRemove" VerticalAlignment="Bottom" Width="75" Click="butRemove_Click" />
        <Label Height="28" HorizontalAlignment="Left" Margin="12,275,0,0" Name="progress" VerticalAlignment="Bottom"/>
    </Grid>
</Window>
